home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Softshoe / Lisa's Mac Parts / Views / Canvas Loops / ValidAndInvalidCanvasLoop.h < prev    next >
Text File  |  2000-06-23  |  611b  |  32 lines

  1. // ValidAndInvalidCanvasLoop.h
  2.  
  3. #ifndef ValidAndInvalidCanvasLoop_h
  4. #define ValidAndInvalidCanvasLoop_h
  5.  
  6. #ifndef CanvasMaintainer_h
  7. #include "CanvasMaintainer.h"
  8. #endif
  9. #ifndef CanvasLoopBase_h
  10. #include "CanvasLoopBase.h"
  11. #endif
  12.  
  13. class ValidAndInvalidCanvasLoop: private CanvasLoopBase
  14.   {
  15.     private:
  16.         CanvasMaintainer canvasMaintainer;
  17.         
  18.     public:
  19.         ValidAndInvalidCanvasLoop( const DrawsSpontaneously& );
  20.         
  21.         CanvasLoopBase::Finished;
  22.         CanvasLoopBase::Unfinished;
  23.         
  24.         void operator++();
  25.         void operator++(int)                        { operator++(); }
  26.  
  27.         CanvasLoopBase::operator*;
  28.         CanvasLoopBase::operator->;
  29.   };
  30.  
  31. #endif
  32.